import java.io.IOException;
import java.util.ArrayList;


public abstract class FileClient {
	private String hostName;
	private int port;
	
	public FileClient(String hostName, int port) {
		this.hostName = hostName;
		this.port = port;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		if(port <= 0) return;
		this.port = port;
	}
	
	public ArrayList<String> requestFileList() {
		return null;
	}
	
	public byte[] requestAFileContent(String fileName){
		return null;
	}
	
	public abstract void showInfo();
	
	public abstract void CallServer() throws IOException;
	
}
